package com.oa.pm.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("签到")
@TableName("pm_check_in")
@Data
public class CheckIn {

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户编号")
    private String userId;

    @ApiModelProperty("拜访对象")
    private String visitors;

    @ApiModelProperty("签到地址")
    private String address;

    @ApiModelProperty("签到时间")
    private Date checkInTime;
}
